package com.oauth.google.client.rpc.orkut;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.oauth.components.client.beans.OAuthUrl;
import com.oauth.components.client.rpc.exception.SessionExpiredException;
import com.oauth.google.client.beans.orkut.GoogleOrkutModel;
import com.oauth.google.client.beans.orkut.HttpQueryString;
import com.oauth.google.client.beans.orkut.OrkutBirthdayDetails;
import com.oauth.google.client.beans.orkut.OrkutFriendDetails;
import com.oauth.google.client.beans.orkut.OrkutScrapDetails;
import com.oauth.google.client.exception.GoogleOAuthException;

@RemoteServiceRelativePath("../google/or.ajax")
public interface OrkutRemoteService extends RemoteService {
	public GoogleOrkutModel getOrkutData(HttpQueryString pQueryString)
			throws SessionExpiredException, GoogleOAuthException;

	public OAuthUrl getSignInUrl() throws SessionExpiredException, GoogleOAuthException;

	public OrkutBirthdayDetails getOrkutBirthdays() throws SessionExpiredException,
			GoogleOAuthException;

	public OrkutScrapDetails getOrkutScraps() throws SessionExpiredException, GoogleOAuthException;

	public OrkutFriendDetails getOrkutFriends() throws SessionExpiredException,
			GoogleOAuthException;

	public void updateStatus(String pStatusText) throws SessionExpiredException,
			GoogleOAuthException;
}
